<html>
   <head>
      <link rel="stylesheet" type="text/css" href="style.css" />
   </head>
   <body onload="">
<h2 class="comptitle">Module Interface <i>INic</i></h2>
<b>Package:</b> org.mixim.modules.nic<br/><b>File: <a href="modules-nic-INic.ned.html">modules/nic/INic.ned</a></b><br/><p>(no description)</p><img src="org.mixim.modules.nic.INic-type.png" ismap="yes" usemap="#type-diagram"/><map name="type-diagram">
<area shape="rect" href="org.mixim.modules.nic.INic.html" title="INic" alt="INic" coords="0,0,194,40">
</map>
<h3 class="subtitle">Usage diagram:</h3>
<p>The following diagram shows usage relationships between types.
Unresolved types are missing from the diagram. Click <a href="full-ned-usage-diagram.html">here</a> to see the full picture.</p>
<img src="org.mixim.modules.nic.INic-usage.png" ismap="yes" usemap="#usage-diagram"/><map name="usage-diagram"><area shape="rect" id="node1" href="org.mixim.modules.nic.INic.html" title="Module Interface INic" alt="" coords="11,83,83,111">
<area shape="rect" id="node2" href="org.mixim.modules.node.HostBasic.html" title="Compound Module HostBasic" alt="" coords="5,6,88,34">
</map>
<h3 class="subtitle">Inheritance diagram:</h3>
<p>The following diagram shows inheritance relationships for this type.
Unresolved types are missing from the diagram. Click <a href="full-ned-inheritance-diagram.html">here</a> to see the full picture.</p>
<img src="org.mixim.modules.nic.INic-inheritance.png" ismap="yes" usemap="#inheritance-diagram"/><map name="inheritance-diagram"><area shape="rect" id="node1" href="org.mixim.modules.nic.INic.html" title="Module Interface INic" alt="" coords="648,6,720,34">
<area shape="rect" id="node2" href="org.mixim.modules.nic.Nic80211.html" title="Compound Module Nic80211" alt="" coords="5,83,83,111">
<area shape="rect" id="node4" href="org.mixim.modules.nic.Nic80211Battery.html" title="Compound Module Nic80211Battery" alt="" coords="107,83,224,111">
<area shape="rect" id="node6" href="org.mixim.modules.nic.Nic80211MultiChannel.html" title="Compound Module Nic80211MultiChannel" alt="" coords="248,83,400,111">
<area shape="rect" id="node8" href="org.mixim.modules.nic.Nic802154_TI_CC1100.html" title="Compound Module Nic802154_TI_CC1100" alt="" coords="424,83,581,111">
<area shape="rect" id="node10" href="org.mixim.modules.nic.Nic802154_TI_CC2420.html" title="Compound Module Nic802154_TI_CC2420" alt="" coords="605,83,763,111">
<area shape="rect" id="node12" href="org.mixim.modules.nic.Nic802154A.html" title="Compound Module Nic802154A" alt="" coords="787,83,880,111">
<area shape="rect" id="node14" href="org.mixim.modules.nic.NicBMAC.html" title="Compound Module NicBMAC" alt="" coords="904,83,984,111">
<area shape="rect" id="node16" href="org.mixim.modules.nic.NicCSMA.html" title="Compound Module NicCSMA" alt="" coords="1008,83,1088,111">
<area shape="rect" id="node18" href="org.mixim.modules.nic.NicLMAC.html" title="Compound Module NicLMAC" alt="" coords="1112,83,1189,111">
</map>
<h3 class="subtitle">Used in compound modules:</h3>
<p>If a module type shows up more than once, that means it has been defined in more than one NED file.</p>
<table>
<tr>
   <td>
      <a href="org.mixim.modules.node.HostBasic.html">HostBasic</a>
      <i> (compound&nbsp;module)</i>
   </td>
   <td>

<p>Example host module for a basic MiXiM host with configurable NIC, network 
layer, application layer and mobility module. </p>
   </td>
</tr>
</table>
<h3 class="subtitle">Properties:</h3>
<table class="paramtable">
   <tr>
      <th>Name</th>
      <th>Value</th>
      <th>Description</th>
   </tr>
<tr>
   <td width="150">display</td>
   <td width="100"><i>i=block/ifcard</i></td>
   <td></td>
</tr>
</table>
<h3 class="subtitle">Source code:</h3>
<pre class="src"><span style="color: #800000; font-weight: bold; ">moduleinterface</span><span style="color: #000000; "> </span><span style="color: #000000; ">INic</span><span style="color: #000000; ">
{
    </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;i=block/ifcard&quot;</span><span style="color: #000000; ">);
    </span><span style="color: #800000; font-weight: bold; ">gates</span><span style="color: #000000; ">:
        </span><span style="color: #000080; font-weight: bold; ">input</span><span style="color: #000000; "> </span><span style="color: #000000; ">radioIn</span><span style="color: #000000; ">; </span><span style="color: #808080; font-style: italic; ">// radioIn gate for sendDirect
</span><span style="color: #000000; ">        </span><span style="color: #000080; font-weight: bold; ">input</span><span style="color: #000000; "> </span><span style="color: #000000; ">upperGateIn</span><span style="color: #000000; ">; </span><span style="color: #808080; font-style: italic; ">// uppergateIn for incoming messages from network layer
</span><span style="color: #000000; ">        </span><span style="color: #000080; font-weight: bold; ">input</span><span style="color: #000000; "> </span><span style="color: #000000; ">upperControlIn</span><span style="color: #000000; ">; </span><span style="color: #808080; font-style: italic; ">// uppergateCtrlIn for incoming control messages from network layer
</span><span style="color: #000000; ">        </span><span style="color: #000080; font-weight: bold; ">output</span><span style="color: #000000; "> </span><span style="color: #000000; ">upperGateOut</span><span style="color: #000000; ">; </span><span style="color: #808080; font-style: italic; ">// uppergateOut to send data messages to network layer
</span><span style="color: #000000; ">        </span><span style="color: #000080; font-weight: bold; ">output</span><span style="color: #000000; "> </span><span style="color: #000000; ">upperControlOut</span><span style="color: #000000; ">; </span><span style="color: #808080; font-style: italic; ">// uppergateCtrlOut to send control messages to network layer
</span><span style="color: #000000; ">
}
</span></pre>
   <hr><p class="footer"><a href="http://creativecommons.org/licenses/by-sa/3.0" target="_top"><img src="by-sa.png"></a> This documentation is released under the <a href="http://creativecommons.org/licenses/by-sa/3.0" target="_top">Creative Commons license</a></p>
   </body>
</html>
